<include file='Common:header'/>
<title></title>
<css file='__PUBLIC__/Admin/Css/common.css'/>
</head>
<body>
	<div class='status'>
		<span>商品分类列表</span>
		<a href="{:U('addTopCate')}" class='add'>添加顶级分类</a>
	</div>
	<table class="table">
		<tr>
			<th>ID</th>
			<th>分类名称</th>
			<th>操作</th>
		</tr>
		<foreach name='cate' item='v'>
			<tr>
				<td width='8%' align='center'>{$v.id}</td>
				<td>{:str_repeat('&nbsp;&nbsp;', $v['lv'])}{$v.html}{$v.name}</td>
				<td align='center'>
					<a href="{:U('addCate', array('pid' => $v['id']))}" class='add-cld'></a>
					<a href="" class='edit'></a>
					<a href="" class='del'></a>
				</td>
			</tr>
		</foreach>
	</table>
</body>
</html>